package com.sp.app.service;

import com.sp.app.domain.Course;
import com.sp.app.domain.User;

import javax.servlet.ServletOutputStream;
import java.util.List;

public interface CourseService {

    int deleteByPrimaryKey(String id);

    int insert(Course record);

    Course selectByPrimaryKey(String id);

    int updateByPrimaryKey(Course record);

    List<Course> queryAll(Course course);

    void export(String[] titles, ServletOutputStream out, User user);
}
